#pragma once
#include "afxwin.h"


// CDataSelectDialog dialog

class CDataSelectDialog : public CDialog
{
	DECLARE_DYNAMIC(CDataSelectDialog)

public:
	CDataSelectDialog(vector<int> & cData,CWnd* pParent = NULL);   // standard constructor
	virtual ~CDataSelectDialog();

// Dialog Data
	enum { IDD = IDD_DIALOG_DATA_SELECT };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	CComboBox m_cComboBox;
	vector<int> m_rgData;
	int m_nSelData;
	inline int GetSelData()const
	{
		return m_nSelData;
	};
	virtual BOOL OnInitDialog();
	afx_msg void OnCbnSelchangeCombo1();
};
